package com.uenpay.oem.ui.user.info;

import com.uenpay.im.entities.QYXUserEntity;
import com.uenpay.oem.data.bean.UserAuthInfo;
import com.uenpay.util.app.base.BaseLoadingView;
import com.uenpay.util.app.base.BasePresenter;

/**
 * Author: liulou
 * Date: 2017/6/19.
 * desc:
 */

public interface UserInfoContract {
    interface View extends BaseLoadingView {
        void showPersonInfo(QYXUserEntity user);

        void showUserAuthInfo(UserAuthInfo info);

        void changeAvatar(String Url);
    }

    interface Presenter extends BasePresenter {
        void getPersonInfo();

        void getAuthInfo();

        void updateInfo(String field, String value);

        void uploadAvatar(byte[] bytes, String url);
    }
}
